// 基础的网址
const baseUrl = "http://kumanxuan1.f3322.net:8001";

// 首页api
export var homeApi = baseUrl + "/index/index";
//搜索窗口数据接口
export var searchWindowApi = baseUrl + "/search/index"
//清楚历史记录接口
export var clearnHistoryApi = baseUrl + "/search/clearhistory"
//用户登录/注册接口
export var loginOrRegApi = baseUrl + "/auth/loginByWeb"
//实时搜索关键字
export var realtimeSearchApi = baseUrl + "/search/helper"
//商品搜索接口
export var getGoodsListApi = baseUrl + "/goods/list"
//商品详细数据接口
export var getGoodsDetailApi = baseUrl + "/goods/detail"
//相关产品数据接口
export var getRelatedGoodsApi = baseUrl + "/goods/related"
//获取购物栏数据
export var getCartTagDataApi = baseUrl + "/cart/goodscount"
//加入购车接口
export var addToCartApi = baseUrl + "/cart/add"
//分类数据接口
export var categoryApi = baseUrl + "/catalog/index"
//分类当前页数据
export var categoryCurrentPageApi = baseUrl + "/catalog/current"
//专题数据接口
export var zhuantiDataApi = baseUrl + "/topic/list"
//获取购物车数据
export var getCartDataApi = baseUrl + "/cart/index"
//点边切换商品选中状态
export var checkGoodsApi = baseUrl + "/cart/checked"
//删除商品
export var deleteGoodsApi = baseUrl + "/cart/delete"
//商品步进器
export var goodsStepApi = baseUrl + "/cart/update"